<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>

<html:html>
 <html:base/>
<html:form action="home.do">
 <font color="red">
 <html:errors   property="userName"/>
 </font><br/>
 
UserName : <html:text property="userName"/>  <bean:message arg0="Username" arg1="5" key="errors.minlength"/><br/>
 <font color="red">
  <html:errors   property="password"/>
 </font><br/>
  <font color="red">
  <html:errors   property="mismatch"/>
 </font><br/>
Password : <html:password property="password"/><br/>
 <font color="red">
  <html:errors   property="retypePassword"/>
 </font><br/>
RetypePassword : <html:password property="retypePassword"/><br/>
 <font color="red">
  <html:errors   property="emailId"/>
 </font><br/>
Email Id : <html:text property="emailId"/><br/>
 <font color="red">
  <html:errors   property="age"/>
 </font><br/>
Age : <html:text property="age"/><br/>
 <font color="red">
  <html:errors   property="dob"/>
 </font><br/>
DOB : <html:text property="dob"/><br/>
<html:submit value="Login"/>
<html:reset value="Cancel"/>
</html:form>
</html:html>